import * as React from "react";

import { IconSvgProps } from "@/types";

export const Logo: React.FC<IconSvgProps> = ({
  size = 24,
  width,
  height,
  ...props
}) => (
  <svg
    aria-hidden="true"
    focusable="false"
    height={size || height}
    viewBox="0 0 1119 1024"
    width={size || width}
    {...props}
  >
    <path
      d="M371.669883 1023.927387a171.077308 171.077308 0 1 1 86.70047-318.482629 23.236307 23.236307 0 0 1-23.599374 40.082629 124.532081 124.532081 0 1 0 61.430985 107.395305V171.154932a124.532081 124.532081 0 1 0-124.532081 124.532081 23.236307 23.236307 0 1 1 0 46.472613 171.077308 171.077308 0 1 1 171.077308-171.004694v681.76776A171.295148 171.295148 0 0 1 371.669883 1023.927387z"
      fill="currentColor"
    />
    <path
      d="M136.111824 456.598436a23.381534 23.381534 0 0 1-17.717683-8.132707A176.450704 176.450704 0 0 1 210.613233 162.73177a23.30892 23.30892 0 0 1 11.037245 45.238185 129.832864 129.832864 0 0 0-67.893583 210.579029 23.236307 23.236307 0 0 1-17.717684 38.339906zM210.613233 876.449453a23.817214 23.817214 0 0 1-6.389985-0.871362 176.37809 176.37809 0 0 1-12.489514-335.328951 23.236307 23.236307 0 1 1 15.97496 43.568075 129.905477 129.905477 0 0 0 9.149296 246.885759 23.30892 23.30892 0 0 1-6.244757 45.673865z"
      fill="currentColor"
    />
    <path
      d="M106.558147 671.534273a23.236307 23.236307 0 0 1-10.601565-2.541471 176.37809 176.37809 0 0 1-4.066354-311.80219 23.236307 23.236307 0 0 1 22.292332 40.808764 129.905477 129.905477 0 0 0 2.977152 229.603755 23.236307 23.236307 0 0 1-10.601565 43.568075zM323.30932 548.672302a108.920188 108.920188 0 0 1-21.784037-2.178404A23.236307 23.236307 0 1 1 311.037646 501.110486a75.227543 75.227543 0 0 0 63.754616-19.605633 52.935211 52.935211 0 0 0 19.024726-44.947731 23.236307 23.236307 0 1 1 46.109546-6.099531A98.754303 98.754303 0 0 1 406.66957 515.633178a123.442879 123.442879 0 0 1-83.36025 33.039124zM517.768162 660.860095a23.236307 23.236307 0 0 1-23.236307-23.236307c0-9.149296-20.113928-14.522692-23.163693-15.466667a23.236307 23.236307 0 0 1 8.350547-45.746478c22.728012 4.138967 61.285759 21.784038 61.285759 61.213145a23.236307 23.236307 0 0 1-23.236306 23.236307zM804.446095 363.144916H619.717457a23.236307 23.236307 0 0 1 0-46.472614h181.533646l72.613458-21.057903a23.236307 23.236307 0 1 1 12.925196 44.657277l-75.953678 21.784038a24.325509 24.325509 0 0 1-6.389984 1.089202z"
      fill="currentColor"
    />
    <path
      d="M932.971916 363.144916a79.874804 79.874804 0 1 1 80.237872-79.874805 79.874804 79.874804 0 0 1-80.237872 79.874805z m0-113.857903a33.692645 33.692645 0 1 0 33.692645 33.983098 33.692645 33.692645 0 0 0-33.692645-33.765258zM890.856111 739.355243a22.437559 22.437559 0 0 1-6.462598-0.943975l-55.186229-15.974961H619.717457a23.236307 23.236307 0 0 1 0-46.472613h212.757433a25.269484 25.269484 0 0 1 6.535211 0.871362l58.090767 16.918935a23.236307 23.236307 0 0 1-6.462598 45.601252z"
      fill="currentColor"
    />
    <path
      d="M963.687409 827.871049a79.874804 79.874804 0 1 1 79.874804-79.874804 80.310485 80.310485 0 0 1-79.874804 79.874804z m0-113.930516a33.692645 33.692645 0 1 0 33.692645 33.692645 33.692645 33.692645 0 0 0-33.692645-33.474805zM1038.914952 592.240377a79.874804 79.874804 0 1 1 80.237872-79.874805 80.383098 80.383098 0 0 1-80.237872 79.874805z m0-113.930517a33.692645 33.692645 0 1 0 33.692645 33.692645 33.692645 33.692645 0 0 0-33.692645-33.692645zM804.010414 985.224413a79.874804 79.874804 0 1 1 79.874805-79.874804 80.310485 80.310485 0 0 1-79.874805 79.874804z m0-113.857902a33.692645 33.692645 0 1 0 33.692645 33.620031 33.692645 33.692645 0 0 0-33.692645-33.547418zM702.206346 535.311425H619.717457a23.30892 23.30892 0 0 1 0-46.545227H702.206346a23.30892 23.30892 0 0 1 0 46.545227z"
      fill="currentColor"
    />
    <path
      d="M740.691479 923.866041H619.717457a23.236307 23.236307 0 0 1 0-46.472613H740.691479a23.236307 23.236307 0 0 1 0 46.472613zM804.010414 198.021911a79.874804 79.874804 0 1 1 79.874805-79.874804 80.310485 80.310485 0 0 1-79.874805 79.874804z m0-113.930516a33.692645 33.692645 0 1 0 33.692645 33.692645 33.692645 33.692645 0 0 0-33.692645-33.692645z"
      fill="currentColor"
    />
    <path
      d="M740.691479 136.663539H619.717457a23.236307 23.236307 0 0 1 0-46.472613H740.691479a23.236307 23.236307 0 1 1 0 46.472613zM973.054545 535.311425h-181.533645a23.30892 23.30892 0 1 1 0-46.545227h181.533645a23.30892 23.30892 0 0 1 0 46.545227z"
      fill="currentColor"
    />
  </svg>
);

export const MoonFilledIcon = ({
  size = 24,
  width,
  height,
  ...props
}: IconSvgProps) => (
  <svg
    aria-hidden="true"
    focusable="false"
    height={size || height}
    role="presentation"
    viewBox="0 0 24 24"
    width={size || width}
    {...props}
  >
    <path
      d="M21.53 15.93c-.16-.27-.61-.69-1.73-.49a8.46 8.46 0 01-1.88.13 8.409 8.409 0 01-5.91-2.82 8.068 8.068 0 01-1.44-8.66c.44-1.01.13-1.54-.09-1.76s-.77-.55-1.83-.11a10.318 10.318 0 00-6.32 10.21 10.475 10.475 0 007.04 8.99 10 10 0 002.89.55c.16.01.32.02.48.02a10.5 10.5 0 008.47-4.27c.67-.93.49-1.519.32-1.79z"
      fill="currentColor"
    />
  </svg>
);

export const SunFilledIcon = ({
  size = 24,
  width,
  height,
  ...props
}: IconSvgProps) => (
  <svg
    aria-hidden="true"
    focusable="false"
    height={size || height}
    role="presentation"
    viewBox="0 0 24 24"
    width={size || width}
    {...props}
  >
    <g fill="currentColor">
      <path d="M19 12a7 7 0 11-7-7 7 7 0 017 7z" />
      <path d="M12 22.96a.969.969 0 01-1-.96v-.08a1 1 0 012 0 1.038 1.038 0 01-1 1.04zm7.14-2.82a1.024 1.024 0 01-.71-.29l-.13-.13a1 1 0 011.41-1.41l.13.13a1 1 0 010 1.41.984.984 0 01-.7.29zm-14.28 0a1.024 1.024 0 01-.71-.29 1 1 0 010-1.41l.13-.13a1 1 0 011.41 1.41l-.13.13a1 1 0 01-.7.29zM22 13h-.08a1 1 0 010-2 1.038 1.038 0 011.04 1 .969.969 0 01-.96 1zM2.08 13H2a1 1 0 010-2 1.038 1.038 0 011.04 1 .969.969 0 01-.96 1zm16.93-7.01a1.024 1.024 0 01-.71-.29 1 1 0 010-1.41l.13-.13a1 1 0 011.41 1.41l-.13.13a.984.984 0 01-.7.29zm-14.02 0a1.024 1.024 0 01-.71-.29l-.13-.14a1 1 0 011.41-1.41l.13.13a1 1 0 010 1.41.97.97 0 01-.7.3zM12 3.04a.969.969 0 01-1-.96V2a1 1 0 012 0 1.038 1.038 0 01-1 1.04z" />
    </g>
  </svg>
);
